#include "ukuipanel.h"
#include "ui_ukuipanel.h"
#include <QScreen>

UKuiPanel::UKuiPanel(QWidget *parent)
    : QWidget(parent)
    , ui(new Ui::UKuiPanel)
{
    ui->setupUi(this);
    this->setGeometry(0,QGuiApplication::screens().at(0)->geometry().height()-46,QGuiApplication::screens().at(0)->geometry().width(),46);
    this->setWindowFlags(Qt::FramelessWindowHint | Qt::WindowStaysOnTopHint | Qt::WindowDoesNotAcceptFocus);
    setAttribute(Qt::WA_X11NetWmWindowTypeDock);
}

UKuiPanel::~UKuiPanel()
{
    delete ui;
}

